/**
 * 描述：首页样式
 * 公司：xxx有限公司
 * 版权：xxx2020
 * 作者：oyjl
 * 时间：2020-05-06 13:52:14
 */

// 主体样式
.main {
  background-color: #f5f5f9;
  margin: 0;
  .top {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
  }
  .content {
    height: calc(100vh - 38px);
    padding: 24px 36px;
    > div {
      width: 120px;
      height: 120px;
      border: 1px solid #ddd;
      border-radius: 4px;
      margin: 8px;
      display: inline-block;
      box-shadow: 1px 1px 1px #ccc;
      text-align: center;
      strong {
        position: relative;
        top: 45%;
      }
    }
    > div:hover {
      cursor: pointer;
      box-shadow: 2px 2px 2px #666;
    }
    > div:active {
      border: 0;
    }
    .purchase {
      background: url("../../../assets/img/error/noData.png") center no-repeat;
      background-size: 100px;
    }
    .requisitioin {
      background: url("../../../assets/img/error/noData.png") center no-repeat;
      background-size: 100px;
    }
    .manager {
      background: url("../../../assets/img/error/noData.png") center no-repeat;
      background-size: 100px;
    }
  }
  .foot {
    padding: 24px 36px;
    position: absolute;
    width: 100%;
    bottom: 0;
    button {
      width: 100%;
      height: 42px;
      border: 0;
      background-color: #80d4c7;
      color: #fff;
      border-radius: 4px;
    }
    button:hover {
      cursor: pointer;
      background-color: #00a98f;
    }
  }
}
